package com.system.dao;

import com.system.entity.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface LoginDao {
    Admin findByAdminName(@Param("username") String username, @Param("password") String password);


    int updateperson(Admin admin);

    void doRegister(Admin admin);

    Admin adminValidate(Admin admin);
}
